package com.edu.bean;

import java.util.List;

public class Card {
    private int cardId;
    private String cardType;
    private List<Control> controlList;

    public List<Control> getControlList() {
        return controlList;
    }

    public void setControlList(List<Control> controlList) {
        this.controlList = controlList;
    }

    @Override
    public String toString() {
        return "Card{" +
                "cardId=" + cardId +
                ", cardType='" + cardType + '\'' +
                '}';
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public Card() {
    }

    public Card(String cardType) {
        this.cardType = cardType;
    }

    public Card(int cardId, String cardType) {
        this.cardId = cardId;
        this.cardType = cardType;
    }
}
